package com.thirtywords.analizer.beans;

import java.util.Date;
import java.util.HashMap;


public class Code {
	
	private String url;
	private String originalCode;
	private String parsedCode;
	private Date downloaded;
	private String domain;
	private HashMap<String,Code> links;

	public Code(String url){
		this.setUrl(url);		
	}
	
	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getOriginalCode() {
		return originalCode;
	}

	public void setOriginalCode(String originalCode) {
		this.originalCode = originalCode;
	}

	public String getParsedCode() {
		return parsedCode;
	}

	public void setParsedCode(String parsedCode) {
		this.parsedCode = parsedCode;
	}

	public Date getDownloaded() {
		return downloaded;
	}

	public void setDownloaded(Date downloaded) {
		this.downloaded = downloaded;
	}

	public String getDomain() {
		return domain;
	}

	public void setDomain(String domain) {
		this.domain = domain;
	}

	public HashMap<String,Code> getLinks() {
		return links;
	}

	public void setLinks(HashMap<String,Code> links) {
		this.links = links;
	}
}
